function play(tbl){
	var course=dao.fetch("course",Cnd.where("id","=",tbl.id))
	var chapters=$list("chapter",Cnd.where("tbl_name","=","course").and("tbl_id","=",tbl.id).and("pid","=",0))
	chapters.forEach(function(c){
		c.put("list",$list("chapter",Cnd.where("pid","=",c.id)))
	})
	attr("chapters",chapters)
	var video=dao.fetch("video",Cnd.where("id","=",tbl.video))
	attr("video",video)
	var api=Java.type("com.jse.plug.AliyunApi");
	var map=new JseMap();
	map.put("VideoId",video.VideoId)
	var body=api.exec("GetVideoPlayAuth",map)
	attr("play",foJson(body))
	
	var str = req.getServletContext().getRealPath("/").replace("\\", "/");
	var webPath = str.substring(0, str.indexOf("tomcat") + 7) + "webapps/";
	let ppts=new File(webPath+"upload/ppt/video/"+tbl.video)
	if(ppts.exists()){
		attr("ppts",ppts.listFiles())
	}
	/*var zb=dao.fetch("zb",Cnd.where("id","=",598))
	attr("zb",zb)*/
	return course;
}
